-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use scipy and pandas for OutOfAfricaExtendedNeandertalAdmixture… #1416
Conversation
…Pulse_3I21 * Scipy was being used for the Gamma PDF, which has been reimplemented using the math.gamma() function. * Pandas use here was unnecessary, so has been removed.
I haven't removed pandas and scipy bits from the QC model, because we want to test that my changes don't actually change the model at all. But this leaves us with still needing scipy and pandas at runtime, because the QC models are loaded during Actually, I don't think we should be loading the QC models in |
Codecov upload failures. 😩 |
Thanks @grahamgower - agreed with all the above! |
Me too - seems tricky! |
Codecov ReportBase: 99.94% // Head: 99.94% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1416 +/- ##
==========================================
- Coverage 99.94% 99.94% -0.01%
==========================================
Files 109 109
Lines 3820 3807 -13
Branches 524 529 +5
==========================================
- Hits 3818 3805 -13
Misses 1 1
Partials 1 1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
We should totally not be importing the qc models at runtime unless specifically requested - would be happy to help with workarounds to get them out of the |
I think I'd rather have that as a separate PR, and I've opened #1418 to discuss/track. Maybe for this PR, you'd be happy to look at the CI runs and satisfy yourself that I haven't changed the demographic model (the QC test still passes)? I can then push another commit making the analogous change to remove scipy/pandas from the QC model. |
One additional point: |
This is good to go now @jeromekelleher. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…Pulse_3I21